<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>系统主分类代码添加</title>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function back()
{
  parent.mright.location="../code/code_blank.action";
}
</script>
</head>
<body class="m_r">
<form action="${ctx}/code/code_modifyNextLevelCode.action"  method="post" enctype="multipart/form-data" >
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_m">
  <tr>
    <td colspan="2" class="zctop left"><span class="font14 zc_bt">编辑下一级代码</span></td>
  </tr>
  <tr>
  	    <s:hidden name="scode.codeId"></s:hidden>
         <s:hidden name="scode.codeFlag"></s:hidden>
    <td class="bg5 right">父代码名称：</td>
    <td><select name="codeNoParent">
    	<s:iterator value="codelist" status="code">
         <option value="<s:property value="codeNo"></s:property>"
          <s:if test="codeNo==selectNo"> selected </s:if> >
         <s:property value="codeName"></s:property></option>
   		 </s:iterator>
    </td>
  </tr>
  <tr>
    <td class="bg5 right">代码编号：</td>
    <td><input type="text" name="scode.codeNo" value="${scode.codeNo}" readonly/></td>
  </tr>
  <tr>
    <td class="bg5 right">代码名称：</td>
    <td><input type="text"  name="scode.codeName" value="${scode.codeName}"/></td>
  </tr>
  <tr>
    <td class="bg5 right">排序号：</td>
    <td><input type="text"  name="scode.codeOrder" value="${scode.codeOrder}" /><div ><font color="red"><s:fielderror></s:fielderror></font></div></td>
  </tr>
  <tr>
    <td colspan="2" class="hei_1">
    <input  type="submit" value="提 交" class="log_f zc_b" onClick="javascript:submit();"/>
    <input  type="reset" value="返 回" class="log_f zc_b" onclick="javascript:history.go(-1);">
    </td>
  </tr>
</table>
</form>
</body>
</html>

